<?php /* Smarty version 2.6.21, created on 2009-06-01 16:57:56
         compiled from login.tpl */ ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content=" text/html; charset=utf-8">
        <link rel="stylesheet" type="text/css" href="css/blueprint/screen.css" media="screen, projection" />
		<link rel="stylesheet" type="text/css" href="css/main.css" media="screen, projection" />
        <link rel="stylesheet" type="text/css" href="css/blueprint/print.css" media="print" />
		<!--[if IE]>
		<link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection" />
		<![endif]-->
		<script type="text/javascript" src="js/vendor/mootools-1.2.2-core-yc.js"></script>
        <script type="text/javascript" src="js/vendor/mootools-1.2.2-more.js"></script>
		<script type="text/javascript" src="js/inputFocus.js" ></script>
		
		<link rel="stylesheet" href="js/vendor/formcheck/theme/classic/formcheck.css" type="text/css" media="screen" />
		<script type="text/javascript" src="js/vendor/formcheck/formcheck.js"></script>
		<script type="text/javascript" src="js/vendor/formcheck/lang/it.js"></script>
		
		
		<!-- Formcheck -->
		
        <title>Template for admin</title>
    </head>
    <body>
        <div class="container">
            <div class="span-24 last" style="height:80px;">
            </div>
            <div class="prepend-8 span-8 append-8 last">
                <div class="span-8 last">
                	<h2 class="titlelogin">Backoffice del sito</h2>
					<?php if (! $this->_tpl_vars['utente']): ?>
						<?php if (! $this->_tpl_vars['login_error']): ?>
                    <form method="post" name="login" action="./?pg=login">
                        <fieldset>
                            <legend>
                                Login:
                            </legend>
								<label class="lblogin" for="username">Username: </label>
								<input class="text validate['required']" type="text" name="user" />
								
								
								<label class="lblogin clear" for="password" >Password: </label> 
								<input class="text validate['required']" type="password" name="pass" />
								
								<br />
								<br />
								
								<input class="clear button" type="submit" value="Entra" name="submit"/>
								

                        </fieldset>
							<?php endif; ?>
						<?php else: ?>
							<script language='javascript'>window.location.href = './?pg=home'</script>
						<?php endif; ?>
                    </form> 
                </div>
            </div>
        </div>
    </body>
</html>